package com.hgxd.entity.res;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author wtf
 * @create 2023-11-04 11:29
 * @description :
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "ResMenuVo对象", description = "菜单响应类")
public class ResMenuVo {

    @ApiModelProperty("类型(0:目录,1:菜单,2:按钮)")
    private Integer type;

    @ApiModelProperty("所属上级")
    private Long parentId;

    @ApiModelProperty("菜单名")
    private String title;

    @ApiModelProperty("编号")
    private Long menuId;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty(value = "是否选中 0：未选中 1：选中")
    private Boolean isSelect;

    @ApiModelProperty(value = "孩子")
    private List<ResMenuVo> children;






}
